package com.site.wisdom_construction.entity.iotModule;

import io.swagger.annotations.ApiModel;

/**
 * @Author daiyifei
 * @Date 2021/12/17
 * @Description
 */
@ApiModel(value = "WisdomElectricityAlarms", description = "智慧用电告警信息表")
public class WisdomElectricityAlarms {
    private Integer id;
    private Integer projectId;
    private String deviceNumber;//设备IMEI
    private String sendTime;//数据转发时间
    private String alarmStatus;//设备报警状态
    private int count;

    public WisdomElectricityAlarms() {
    }

    public WisdomElectricityAlarms(Integer id, Integer projectId, String deviceNumber, String sendTime, String alarmStatus, int count) {
        this.id = id;
        this.projectId = projectId;
        this.deviceNumber = deviceNumber;
        this.sendTime = sendTime;
        this.alarmStatus = alarmStatus;
        this.count = count;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public String getDeviceNumber() {
        return deviceNumber;
    }

    public void setDeviceNumber(String deviceNumber) {
        this.deviceNumber = deviceNumber;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getAlarmStatus() {
        return alarmStatus;
    }

    public void setAlarmStatus(String alarmStatus) {
        this.alarmStatus = alarmStatus;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "{" +
                "id=" + id +
                ", projectId=" + projectId +
                ", deviceNumber='" + deviceNumber + '\'' +
                ", sendTime='" + sendTime + '\'' +
                ", alarmStatus='" + alarmStatus + '\'' +
                ", count=" + count +
                '}';
    }
}
